<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    // 箭头函数没有自己的this指向，会向外跳一层找父作用域(this指向)
    var zang = {
        name: "张三",
        age:"18",
        say: function() {
            console.log(this.age);
            var fn = () => {
                console.log(this);
            }
            fn();
        }
    }
    zang.say();

</script>
</html>